*/
#include "defs.h"
-#include <stdio.h>
+#include <cstdio>
#define MYNAME "alan"
*/
#include "defs.h"
-#include <stdlib.h> // atof
-#include <stdio.h> // sprintf
+#include <cstdio> // sprintf
+#include <cstdlib> // atof
#define MYNAME "an1"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/an1.cc.
#include "filterdefs.h"
#include "grtcirc.h"
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h> // strtod
+#include <cmath>
+#include <cstdio>
+#include <cstdlib> // strtod
#if FILTERS_ENABLED
#define MYNAME "Arc filter"
*/
#include "defs.h"
+#include "cet_util.h"
#include "csv_util.h"
#include "garmin_tables.h"
-#include "cet_util.h"
#include "inifile.h"
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "bcr"
#include "filterdefs.h"
#include "grtcirc.h"
-#include <stdlib.h>
#include <cmath>
+#include <cstdlib>
#define MYNAME "bend"
#include "defs.h"
#include "gbser.h"
-#include <stdio.h>
+#include <cstdio>
static void* serial_handle;
--- /dev/null
+<chapter id="Getting_and_Building">
+ <title>Getting or Building GPSBabel</title>
+<sect1 id="Download">
+<title>Downloading - the easy way</title>
+ <para>
+GPSBabel is distributed "ready to run" on most common
+operating systems via the
+<ulink url="http://www.gpsbabel.org/download.html">official GPSBabel download</ulink> page.
+</para>
+ <para> As GPSBabel runs on a wide variety of operating systems,
+be sure to visit the
+<ulink url="http://www.gpsbabel.org/osnotes.html">OS-Specific notes</ulink> for
+additional information.
+</para>
+</sect1>
+<sect1 id="Source">
+<title>Building from source.</title>
+ <para>
+Most people will not have to build GPSBabel as we provide builds for MacOS
+(formerly Mac OS/X) and Windows. If you are a developer, need access to a change
+that's been committed but not released, or are using an operating
+system where no binary is provided, you will have to build it from
+source. The source code should be compilable on any system with
+ISO C++11. It's tested on Linux, MacOS and Windows cross compilers.
+Less frequently, someone will build on MSVC, FreeBSD, OpenBSD, Solaris,
+etc. Both Clang/LLVM and GNU C++ are regularly exercised via automation.
+</para>
+
+<para>
+ You will need a build environment. In general, configuring that will be
+ custom for your computer. Some of these components may be provided with
+ your operating system, perhaps as optional packages, and some will have
+ to be downloaded. <ulink url="http://qt-project.org">Qt</ulink>
+is required for all builds. Mac and Windows users can download
+binaries from <ulink url="http://qt-project.org/downloads">Qt Downloads</ulink>
+Fedora or CentOS users may need to 'yum install qt-devel'. Optionally, use qt5-base. When in doubt, 'yum search qt' or 'yum search qt5' can help you find the correct package name
+Ubuntu users may need to 'apt-get install libqt5-core libqt5-dev'.
+Qt versions 5.2 and newer are supported.
+</para>
+ <para>To build the Garmin USB support, <ulink url="http://libusb.sourceforge.net">libusb</ulink>
+is required for Linux or other UNIX-like systems.
+Fedora users find this via 'yum install libusb-devel'. Ubuntu users may
+need to 'yum install libusb-dev'. We provide a modified version for MacOS.
+</para>
+</para>
+
+
+
+<para>
+ The next step is to actually get the source code. The most recent and tested release, available
+ from the <ulink url="http://www.gpsbabel.org/download.html">GPSBabel download page</ulink>
+ </para>
+ <para>If you're doing any development, you'll find that working from the <ulink url="https://github.com/gpsbabel/gpsbabel">GPSBabel Github repo</ulink> is easier and is required for sending us changes. Checkouts vis Git, HTTPS, SSH, and Subversion are supported.
+</para>
+
+<para>
+ There are two approaches to building. Users comfortable with "old-school" UNIXy open-source development will likely prefer to run
+ "./configure && make". Others may prefer to use the (pretty awesome)
+ Qt Creator to open the .pro files and use the IDE and debugger that are
+ part of Qt. As a hybrid approach, you can use the Qt .pro files and build
+ from the command line by running "qmake && make".
+</para>
+<para>In all cases, the GUI
+ is built separately from the gui/directory and is buildable only via the
+ Qt approach.
+</para>
+
+
+
+<para>
+ In most cases, the code is as simple to build as running:
+</para>
+<para><userinput> ./configure && make</userinput></para>
+ <para>
+<para>There are additional flags that can be passed to configure to
+ customize your build of GPSBabel.
+</para>
+<para><userinput>./configure --help</userinput></para>
+<para>
+lists all the supported options, but of interest we have:</para><para>
+ <option>--disable-shapefile</option> Excludes the shapefile support.
+</para>
+<para>
+ <option>--disable-csv</option> Excludes all support for our something-separated formats.
+</para>
+<para>
+ <option>--disable-filters</option> Excludes all filter support.
+</para>
+<para>
+ <option>--enable-efence</option> Activate debugging mode for gpsbabel-debug.
+</para>
+<para>
+ <option>--with-doc=</option><filename class="directory">dir</filename> Specifies that the doc should be created and installed in <filename class="directory">dir</filename>.
+</para>
+<para>
+ <option>--without-libusb</option> Disables use of libusb, even it's it's available.
+</para>
+<para>
+ <option>--with-zlib=(included)|system|no</option> By default, we use our own version of zlib. If you specify <option>system</option> the system zlib is used. A value of <option>no</option> (or --without-zlib) disables zlib.
+</para>
+</sect1>
+</chapter>
#include "defs.h"
-#include <math.h>
#include <QtCore/QFileInfo>
+#include <cmath>
#define MYNAME "Bushnell"
static gbfile* file_in;
--- /dev/null
+1 warning generated.
#include "defs.h"
#include "cet.h"
#include "cet_util.h"
-#include <stdlib.h> // qsort
#include "src/core/logging.h"
#include <QtCore/QDebug>
#include <QtCore/QTextCodec>
+#include <cstdlib> // qsort
#define MYNAME "cet_util"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+9 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/coverity_model.cc.
#include "defs.h"
#include "cet_util.h"
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "cst"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+4 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/cst.cc.
#include <QtCore/QRegExp>
#include <QtCore/QTextStream>
-#include "defs.h"
#include "csv_util.h"
+#include "defs.h"
#include "garmin_fs.h"
#include "grtcirc.h"
#include "jeeps/gpsmath.h"
#include "src/core/logging.h"
#include "strptime.h"
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "CSV_UTIL"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/csv_util.cc.
*/
+#include "queue.h"
+#include "defs.h"
#include <QtCore/QStringList>
class QTextStream;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/delgpl.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/destinator.cc.
*/
#include "defs.h"
-#include <ctype.h>
+#include <cctype>
#include "gbser.h"
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cassert>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "DG-100"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/dg-100.cc.
#include "defs.h"
#include "filterdefs.h"
-#include <stdlib.h>
+#include <cstdlib>
// Can't use QRegularExpression because Linux won't get Qt 5 for years.
#include <QtCore/QRegExp>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#if FILTERS_ENABLED
static char* hdopopt = NULL;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/discard.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+3 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/dmtlog.cc.
*/
#include "defs.h"
#include "filterdefs.h"
-#include <stdio.h>
-#include <stdlib.h> // qsort
+#include <cstdio>
+#include <cstdlib> // qsort
#if FILTERS_ENABLED
static char* snopt = NULL;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/duplicate.cc.
#include "defs.h"
-#include <stdio.h>
+#include <cstdio>
static gbfile* file_in;
static gbfile* file_out;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/easygps.cc.
#include "defs.h"
#include <QtCore/QDebug>
-#include <limits.h>
+#include <climits>
#define MYNAME "energympro"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/energympro.cc.
*/
#include "defs.h"
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#define MYNAME "Enigma binary route and waypoint file format"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/enigma.cc.
#include "defs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
#include <QtCore/QFile>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "exif"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/exif.cc.
#include "defs.h"
-#include "inifile.h"
#include "explorist_ini.h"
+#include "inifile.h"
static inifile_t* inifile;
static const char myname[] = "explorist";
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/explorist_ini.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/f90g_track.cc.
*/
#include "defs.h"
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
void
fatal(const char* fmt, ...)
{
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/fatal.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/filter_skeleton.cc.
#include "defs.h"
#include "filterdefs.h"
-#include "inifile.h"
#include "gbversion.h"
+#include "inifile.h"
#include <QtCore/QStringList>
-#include <stdlib.h> // qsort
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdlib>
+#include <cstdio>
+#include <cstdlib> // qsort
typedef struct {
filter_vecs_t* vec;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/filter_vecs.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+3 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/format_skeleton.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/formspec.cc.
*/
#include "defs.h"
-#include "csv_util.h"
#include "cet_util.h"
+#include "csv_util.h"
#include "garmin_fs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
#include "strptime.h"
-#include <time.h>
-#include <stdlib.h>
+#include <cstdlib>
+#include <ctime>
#include <stdio.h>
#if CSVFMTS_ENABLED
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/g7towin.cc.
*/
-#include <ctype.h>
-#include <limits.h>
-#include <stdlib.h>
-#include <math.h>
+#include <cctype>
+#include <climits>
+#include <cmath>
+#include <cstdlib>
-#include "defs.h"
#include "cet_util.h"
+#include "defs.h"
+#include "garmin_device_xml.h"
+#include "garmin_fs.h"
+#include "garmin_tables.h"
#include "grtcirc.h"
#include "jeeps/gps.h"
#include "jeeps/gpsserial.h"
-#include "garmin_tables.h"
-#include "garmin_fs.h"
-#include "garmin_device_xml.h"
#define MYNAME "GARMIN"
static const char* portname;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin.cc.
#include "defs.h"
-#include "xmlgeneric.h"
#include "garmin_device_xml.h"
+#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
-#include <stdio.h>
+#include <cstdio>
#define MYNAME "whatever"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_device_xml.cc.
*/
#include "defs.h"
-#include <stdio.h>
+#include <cstdio>
#define MYNAME "fit"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+4 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_fit.cc.
#include "inifile.h"
#include <QtCore/QXmlStreamWriter>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "garmin_fs"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_fs.cc.
#include "defs.h"
#include "cet_util.h"
-#include "jeeps/gpsmath.h"
#include "garmin_fs.h"
#include "garmin_gpi.h"
-#include <stdlib.h>
+#include "jeeps/gpsmath.h"
#include <QtCore/QTextCodec>
+#include <cstdlib>
#define MYNAME "garmin_gpi"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_gpi.cc.
*/
#include "garmin_tables.h"
-#include "src/core/logging.h"
#include "jeeps/gpsmath.h"
-#include <stdlib.h> // qsort
+#include "src/core/logging.h"
+#include <cstdlib> // qsort
#define MYNAME "garmin_tables"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_tables.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_txt.cc.
*/
#include "defs.h"
-#include <stdlib.h>
+#include <cstdlib>
#define MYNAME "Garmin_XT"
#define GARMIN_XT_ELE 31500/65536
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/garmin_xt.cc.
#include "gbfile.h"
#include "src/core/logging.h"
-#include <assert.h>
-#include <stdarg.h> // for va_copy
-#include <stdio.h>
+#include <cassert>
+#include <cstdarg> // for va_copy
+#include <cstdio>
#if __WIN32__
/* taken from minigzip.c (part of the zlib project) */
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gbfile.cc.
#include "gbser.h"
#include "gbser_private.h"
-#include <assert.h>
-#include <stdarg.h>
-#include <stdio.h>
+#include <cassert>
+#include <cstdarg>
+#include <cstdio>
void gbser__db(int l, const char* msg, ...)
{
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gbser.cc.
#include "gbser.h"
#include "gbser_private.h"
-#include <assert.h>
-#include <errno.h>
+#include <cassert>
+#include <cerrno>
+#include <cstdarg>
+#include <cstdio>
#include <fcntl.h>
-#include <stdarg.h>
-#include <stdio.h>
#include <sys/time.h>
#include <termios.h>
#include <unistd.h>
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gbser_posix.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gbser_win.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gbsleep.cc.
#include "grtcirc.h"
#include "jeeps/gpsmath.h"
#include <cmath>
-#include <stdlib.h>
+#include <cstdlib>
#define MYNAME "gdb"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+3 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gdb.cc.
*/
#include "defs.h"
+#include "src/core/file.h"
+#include <QtCore/QDebug>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
-#include <QtCore/QDebug>
-#include "src/core/file.h"
static char* deficon = NULL;
static char* nuke_placer;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+6 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/geo.cc.
*/
#include "defs.h"
+#include "src/core/file.h"
+#include <QtCore/QJsonArray>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
-#include <QtCore/QJsonArray>
-#include "src/core/file.h"
static gbfile* ofd;
static QString input_file_name;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+18 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/geojson.cc.
+Suppressed 18 warnings (18 with check filters).
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/ggv_bin.cc.
*/
-#include <ctype.h>
-#include <math.h>
-#include <stdio.h>
-#include <time.h>
+#include <cctype>
+#include <cmath>
+#include <cstdio>
+#include <ctime>
#include "defs.h"
#include "grtcirc.h"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/ggv_log.cc.
#include "defs.h"
#include "cet_util.h"
-#include "inifile.h"
#include "grtcirc.h"
+#include "inifile.h"
#include <cmath>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "ggv_ovl"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/ggv_ovl.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/globals.cc.
*/
-#include <ctype.h>
-#include <limits.h>
-#include <stdio.h>
#include "defs.h"
#include "gbser.h"
+#include <cctype>
+#include <climits>
+#include <cstdio>
#define MYNAME "GlobalsatSport"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/globalsat_sport.cc.
*/
#include "defs.h"
-#include "xmlgeneric.h"
#include "src/core/file.h"
+#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
#include <QtCore/QXmlStreamWriter>
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/glogbook.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gnav_trl.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/googledir.cc.
#include "defs.h"
#include "cet_util.h"
#include "csv_util.h"
-#include "strptime.h"
-#include "jeeps/gpsmath.h"
#include "grtcirc.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include "jeeps/gpsmath.h"
+#include "strptime.h"
#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "gopal"
static gbfile* fin, *fout;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gopal.cc.
#include "defs.h"
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "gpssim"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+2 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gpssim.cc.
#include "cet_util.h"
#include "magellan.h"
#include <cmath>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gpsutil.cc.
#include "cet_util.h"
#include "garmin_fs.h"
#include "garmin_tables.h"
-#include "src/core/logging.h"
#include "src/core/file.h"
+#include "src/core/logging.h"
#include "src/core/xmlstreamwriter.h"
#include "src/core/xmltag.h"
-#include <QtCore/QXmlStreamReader>
-#include <QtCore/QRegExp>
#include <QtCore/QDateTime>
#include <QtCore/QDebug>
+#include <QtCore/QRegExp>
+#include <QtCore/QXmlStreamReader>
-#include <math.h>
+#include <cmath>
static QXmlStreamReader* reader;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+4 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gpx.cc.
#include "defs.h"
#include "grtcirc.h"
+#include <cerrno>
#include <cmath>
-#include <errno.h>
-#include <math.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
static const double EARTH_RAD = 6378137.0;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/grtcirc.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gtm.cc.
#include "defs.h"
#include "xmlgeneric.h"
-#include <stdio.h>
+#include <cstdio>
static gbfile* ofd;
static int lap_ct = 0;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/gtrnctr.cc.
--- /dev/null
+QMAKE_MAC_SDK.macosx.--show-sdk-path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
+QMAKE_MAC_SDK.macosx.--show-sdk-platform-path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
+QMAKE_MAC_SDK.macosx.--show-sdk-version = 10.13
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_FIX_RPATH = \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool \
+ -id
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_AR = \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar \
+ cq
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_RANLIB = \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib \
+ -s
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK_SHLIB = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
+QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_ACTOOL = /Applications/Xcode.app/Contents/Developer/usr/bin/actool
+QMAKE_CXX.INCDIRS = \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include \
+ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include
+QMAKE_CXX.LIBDIRS = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib
+QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
+QMAKE_CXX.QMAKE_APPLE_CC = 6000
+QMAKE_CXX.QMAKE_APPLE_CLANG_MAJOR_VERSION = 9
+QMAKE_CXX.QMAKE_APPLE_CLANG_MINOR_VERSION = 0
+QMAKE_CXX.QMAKE_APPLE_CLANG_PATCH_VERSION = 0
+QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 4
+QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2
+QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 1
+QMAKE_CXX.COMPILER_MACROS = \
+ QT_COMPILER_STDCXX \
+ QMAKE_APPLE_CC \
+ QMAKE_APPLE_CLANG_MAJOR_VERSION \
+ QMAKE_APPLE_CLANG_MINOR_VERSION \
+ QMAKE_APPLE_CLANG_PATCH_VERSION \
+ QMAKE_GCC_MAJOR_VERSION \
+ QMAKE_GCC_MINOR_VERSION \
+ QMAKE_GCC_PATCH_VERSION
+QMAKE_XCODE_DEVELOPER_PATH = /Applications/Xcode.app/Contents/Developer
+QMAKE_XCODE_VERSION = 9.0.1
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE QtCreatorProject>
+<!-- Written by QtCreator 4.4.1, 2017-11-10T23:24:33. -->
+<qtcreator>
+ <data>
+ <variable>EnvironmentId</variable>
+ <value type="QByteArray">{bde38e34-291f-417e-b793-a8af8f4a200a}</value>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.ActiveTarget</variable>
+ <value type="int">0</value>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.EditorSettings</variable>
+ <valuemap type="QVariantMap">
+ <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
+ <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
+ <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
+ <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
+ <value type="QString" key="language">Cpp</value>
+ <valuemap type="QVariantMap" key="value">
+ <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
+ </valuemap>
+ </valuemap>
+ <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
+ <value type="QString" key="language">QmlJS</value>
+ <valuemap type="QVariantMap" key="value">
+ <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
+ </valuemap>
+ </valuemap>
+ <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
+ <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
+ <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
+ <value type="int" key="EditorConfiguration.IndentSize">4</value>
+ <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
+ <value type="int" key="EditorConfiguration.MarginColumn">80</value>
+ <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
+ <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
+ <value type="int" key="EditorConfiguration.PaddingMode">1</value>
+ <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
+ <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
+ <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
+ <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
+ <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
+ <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
+ <value type="int" key="EditorConfiguration.TabSize">8</value>
+ <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
+ <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
+ <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
+ <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
+ <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
+ <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
+ </valuemap>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.PluginSettings</variable>
+ <valuemap type="QVariantMap"/>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.Target.0</variable>
+ <valuemap type="QVariantMap">
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.2 clang 64bit</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.2 clang 64bit</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.592.clang_64_kit</value>
+ <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
+ <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
+ <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
+ <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
+ <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/Documents/GitHub/gpsbabel/gui</value>
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+ <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
+ <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
+ <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
+ <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
+ <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
+ <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
+ </valuemap>
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
+ <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+ <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
+ <value type="QString">-w</value>
+ <value type="QString">-r</value>
+ </valuelist>
+ <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
+ <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
+ <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
+ </valuemap>
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
+ <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
+ <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
+ <value type="QString">-w</value>
+ <value type="QString">-r</value>
+ </valuelist>
+ <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
+ <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
+ <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
+ <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
+ <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
+ <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
+ <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
+ <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
+ <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
+ <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
+ <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
+ <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
+ <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
+ <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
+ <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
+ <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
+ <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
+ <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
+ <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
+ <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
+ <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
+ <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
+ <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
+ <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
+ <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
+ <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
+ <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
+ <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
+ <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
+ <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
+ <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
+ <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
+ <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
+ <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
+ <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
+ <value type="int">0</value>
+ <value type="int">1</value>
+ <value type="int">2</value>
+ <value type="int">3</value>
+ <value type="int">4</value>
+ <value type="int">5</value>
+ <value type="int">6</value>
+ <value type="int">7</value>
+ <value type="int">8</value>
+ <value type="int">9</value>
+ <value type="int">10</value>
+ <value type="int">11</value>
+ <value type="int">12</value>
+ <value type="int">13</value>
+ <value type="int">14</value>
+ </valuelist>
+ <value type="int" key="PE.EnvironmentAspect.Base">2</value>
+ <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">app</value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
+ <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/Users/robertlipe/Documents/GitHub/gpsbabel/gui/app.pro</value>
+ <value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
+ <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
+ <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">app.pro</value>
+ <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
+ <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
+ <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default"></value>
+ <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
+ <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
+ <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
+ <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
+ <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
+ <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
+ </valuemap>
+ <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
+ </valuemap>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.TargetCount</variable>
+ <value type="int">1</value>
+ </data>
+ <data>
+ <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
+ <value type="int">18</value>
+ </data>
+ <data>
+ <variable>Version</variable>
+ <value type="int">18</value>
+ </data>
+</qtcreator>
// USA
//
//------------------------------------------------------------------------
-#include <stack>
-#include <math.h>
#include "dpencode.h"
+#include <cmath>
+#include <stack>
using std::vector;
using std::stack;
// USA
//
//------------------------------------------------------------------------
-#include <math.h>
#include "latlng.h"
+#include <math.h>
// copied from the web somewhere.
#include "defs.h"
#include "filterdefs.h"
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#define MYNAME "height"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/height.cc.
*/
#include "defs.h"
-#include "xmlgeneric.h"
#include "src/core/xmlstreamwriter.h"
+#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
-#include <stdio.h>
+#include <cstdio>
static gbfile* ofd;
static QString ostring;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/hiketech.cc.
#include "defs.h"
#include "holux.h"
//#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_in, *file_out;
static unsigned char* HxWFile;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/holux.cc.
#include "defs.h"
#include "jeeps/gpsmath.h"
#include "src/core/xmltag.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_out;
static short_handle mkshort_handle;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/html.cc.
#include "defs.h"
#include <QtCore/QMap>
-#include <stdio.h>
-#include <math.h>
+#include <cmath>
+#include <cstdio>
#define MYNAME "humminbird"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/humminbird.cc.
#include "defs.h"
#include "cet_util.h"
-#include <errno.h>
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cerrno>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_in, *file_out;
static char manufacturer[4];
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+7 errors generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/igc.cc.
#include "defs.h"
#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
-#include <stdio.h>
+#include <cstdio>
#define MYNAME "IGNRando"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/ignrando.cc.
#include "defs.h"
#include "cet.h"
#include "cet_util.h"
-#include <stdlib.h>
+#include <cstdlib>
#define FLOAT_TO_INT(x) ((int)((x) + ((x)<0?-0.5:0.5)))
#define IGO8_HEADER_SIZE (sizeof(igo8_id_block) + 256)
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/igo8.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/ik3d.cc.
#include "defs.h"
#include "inifile.h"
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "inifile"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+5 warnings and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/inifile.cc.
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/internal_styles.cc.
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
-#include <stdlib.h>
+#include <cstdlib>
#if FILTERS_ENABLED
#define MYNAME "Interpolate filter"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/interpolate.cc.
*/
#include "defs.h"
#include "gbser.h"
-#include <ctype.h>
-#include <math.h>
-#include <stdio.h>
+#include <cctype>
+#include <cmath>
+#include <cstdio>
#define MYNAME "itracku"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/itracku.cc.
*/
#include <stdio.h>
+#include "gpsdevice.h"
/* This structure is a bit funny looking to avoid variable length
* arrays which aren't present in C89. This contains the visible
extern struct LINKDATA LINK_ID[3];
extern struct GPS_MODEL_PROTOCOL GPS_MP[];
-extern char* gps_marine_sym[];
-extern char* gps_land_sym[];
-extern char* gps_aviation_sym[];
-extern char* gps_16_sym[];
+extern const char* gps_marine_sym[];
+extern const char* gps_land_sym[];
+extern const char* gps_aviation_sym[];
+extern const char* gps_16_sym[];
#endif
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
-#include <stdlib.h>
-#include <ctype.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <ctime>
/*
* This violates the layering design, but is needed for device discovery.
* See the use of gps_is_usb and GPS_Packet_Read_usb below.
*/
#include "garminusb.h"
-#include "gpsusbint.h"
#include "gpsserial.h"
+#include "gpsusbint.h"
time_t gps_save_time;
double gps_save_lat;
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <float.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cfloat>
+#include <cstdio>
+#include <cstdlib>
/* @func GPS_Command_Off ***********************************************
switch (gps_course_limits_transfer) {
case pA1009:
ret = GPS_A1009_Get(port,&limits);
+ Q_UNUSED(ret);
break;
default:
GPS_Error("Send_Course: Unknown course limitsprotocol");
#include "gps.h"
#include "gpsdevice.h"
-#include "gpsserial.h"
#include "gpsread.h"
+#include "gpsserial.h"
gps_device_ops gps_serial_ops = {
GPS_Serial_On,
*/
#include "gps.h"
-#include "gpsdevice.h"
#include "garminusb.h"
-#include "gpsusbint.h"
+#include "gpsdevice.h"
#include "gpsusbcommon.h"
+#include "gpsusbint.h"
garmin_unit_info_t garmin_unit_info[GUSB_MAX_UNITS];
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdio.h>
-#include <time.h>
+#include <cstdio>
+#include <ctime>
static void GPS_Fmt_Print_Way100(GPS_PWay way, FILE* outf);
static int32 GPS_Fmt_Print_Route201(GPS_PWay* way, int32 n, FILE* outf);
-char* gps_marine_sym[]= {
+const char* gps_marine_sym[]= {
"Anchor","Bell","Diamond-grn","Diamond_red","Dive1","Dive2","Dollar",
"Fish","Fuel","Horn","House","Knife","Light","Mug","Skull",
"Square_grn","Square_red","Wbuoy","Wpt_dot","Wreck","Null","Mob",
-char* gps_land_sym[]= {
+const char* gps_land_sym[]= {
"Is_hwy","Us_hwy","St_hwy","Mi_mrkr","Trcbck","Golf","Sml_cty",
"Med_cty","Lrg_cty","Freeway","Ntl_hwy","Cap_cty","Amuse_pk",
"Bowling","Car_rental","Car_repair","Fastfood","Fitness","Film",
};
-char* gps_aviation_sym[]= {
+const char* gps_aviation_sym[]= {
"Airport","Int","Ndb","Vor","Heliport","Private","Soft_fld",
"Tall_tower","Short_tower","Glider","Ultralight","Parachute",
"Vortac","Vordme","Faf","Lom","Map","Tacan","Seaplane"
};
-char* gps_16_sym[]= {
+const char* gps_16_sym[]= {
"Dot","House","Fuel","Car","Fish","Boat","Anchor","Wreck",
"Exit","Skull","Flag","Camp","Circle-x","Deer","1st_aid","Back_track"
};
static void GPS_Fmt_Print_Way102(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
static void GPS_Fmt_Print_Way103(GPS_PWay way, FILE* outf)
{
- static char* dspl[]= {
+ static const char* dspl[]= {
"SW","S","SC"
};
static void GPS_Fmt_Print_Way104(GPS_PWay way, FILE* outf)
{
- static char* dspl[]= {
+ static const char* dspl[]= {
"S","S","","SW","","SC"
};
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
static void GPS_Fmt_Print_Way105(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
static void GPS_Fmt_Print_Way106(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
static void GPS_Fmt_Print_Way107(GPS_PWay way, FILE* outf)
{
- static char* dspl[]= {
+ static const char* dspl[]= {
"SW","S","SC"
};
- static char* col[]= {
+ static const char* col[]= {
"Default","Red","Green","Blue"
};
static void GPS_Fmt_Print_Way108(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
- static char* dspl[]= {
+ static const char* dspl[]= {
"SW","S","SC"
};
- static char* col[]= {
+ static const char* col[]= {
"Black","Dark_Red","Dark_Green","Dark_Yellow","Dark_Blue",
"Dark_Magenta","Dark_Cyan","Light_Grey","Dark_Grey","Red","Green",
"Yellow","Blue","Magenta","Cyan","White"
static void GPS_Fmt_Print_Way109(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
- static char* dspl[]= {
+ static const char* dspl[]= {
"SW","S","SC"
};
- static char* col[]= {
+ static const char* col[]= {
"Black","Dark_Red","Dark_Green","Dark_Yellow","Dark_Blue",
"Dark_Magenta","Dark_Cyan","Light_Grey","Dark_Grey","Red","Green",
"Yellow","Blue","Magenta","Cyan","White"
static void GPS_Fmt_Print_Way154(GPS_PWay way, FILE* outf)
{
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
static void GPS_Fmt_Print_Way155(GPS_PWay way, FILE* outf)
{
- static char* dspl[]= {
+ static const char* dspl[]= {
"","S","","SW","","SC"
};
- char** p;
+ const char** p;
int32 x;
if (way->smbl < 8192) {
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
+#include <cerrno>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
static int32 GPS_Input_Load_String(char* t, int32 n, char* s);
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
#if HAVE_CONFIG_H
#include "config.h"
#endif
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdlib.h>
-#include <math.h>
-#include <string.h>
#include "gpsdatum.h"
+#include <cmath>
+#include <cstdlib>
+#include <cstring>
static int32 GPS_Math_LatLon_To_UTM_Param(double lat, double lon, int32* zone,
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdlib.h>
-#include <errno.h>
-#include <stdio.h>
-#include <limits.h>
+#include <cerrno>
+#include <climits>
+#include <cstdio>
+#include <cstdlib>
/* @func GPS_Pvt_New ***********************************************
**
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <math.h>
-#include <string.h>
+#include <cmath>
+#include <cstring>
/* @func GPS_Math_Albers_LatLon_To_EN **********************************
********************************************************************/
#define COMMON
#include "gps.h"
-#include <stdio.h>
+#include <cstdio>
#define GPS_TAGUNK 20
** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
** Boston, MA 02111-1307, USA.
********************************************************************/
+
+#include <cerrno>
+#include <cstdio>
+#include <cstdlib>
+#include <ctime>
+
#include "gps.h"
#include "gpsserial.h"
-#include <stdlib.h>
-#include <stdio.h>
-#include <time.h>
-#include <errno.h>
/* @func GPS_Time_Now ***********************************************
** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
** Boston, MA 02111-1307, USA.
********************************************************************/
-#include "gps.h"
-#include "gpsserial.h"
-#include <stdio.h>
-#include <errno.h>
-#include <ctype.h>
+#include <cctype>
+#include <cerrno>
+#include <cstdio>
+#include "gps.h"
+#include "gpsserial.h"
/* @funcstatic Build_Serial_Packet *************************************
**
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include "gpsserial.h"
#include "../gbser.h"
-#include <sys/types.h>
-#include <sys/stat.h>
+#include "gpsserial.h"
+#include <cerrno>
+#include <cstdio>
+#include <ctime>
#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <time.h>
+#include <sys/stat.h>
+#include <sys/types.h>
int gps_baud_rate = DEFAULT_BAUD;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <ctype.h>
-#include "gps.h"
#include "garminusb.h"
+#include "gps.h"
#include "gpsusbint.h"
+#include <cctype>
/*
* Return values are:
*/
#include "gps.h"
-#include <stdio.h>
-#include <errno.h>
#include "garminusb.h"
#include "gpsusbint.h"
+#include <cerrno>
+#include <cstdio>
int32
GPS_Write_Packet_usb(gpsdevh*, GPS_PPacket& packet)
*/
-#include <stdio.h>
-#include <ctype.h>
+#include <cctype>
+#include <cstdio>
+#include <initguid.h>
#include <malloc.h>
+#include <setupapi.h>
#include <windows.h>
#include <winioctl.h>
-#include <initguid.h>
-#include <setupapi.h>
+#include "../garmin_device_xml.h"
+#include "garminusb.h"
#include "gps.h"
#include "gpsapp.h"
-#include "garminusb.h"
#include "gpsusbcommon.h"
-#include "../garmin_device_xml.h"
/* Constants from Garmin doc. */
** Boston, MA 02111-1307, USA.
********************************************************************/
#include "gps.h"
-#include <stdlib.h>
+#include <cstdarg>
+#include <cstdlib>
#include <fcntl.h>
-#include <stdarg.h>
static int32 gps_endian_called=0;
static int32 GPS_Little=0;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 warning and 1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/jogmap.cc.
#include "csv_util.h"
#include <QtCore/QHash>
#include <cmath>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "jtr"
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/jtr.cc.
#endif
#include "defs.h"
-#include "xmlgeneric.h"
#include "grtcirc.h"
#include "src/core/file.h"
#include "src/core/xmlstreamwriter.h"
#include "src/core/xmltag.h"
+#include "xmlgeneric.h"
#include <QtCore/QRegExp>
#include <QtCore/QXmlStreamAttributes>
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
// options
static char* opt_deficon = NULL;
--- /dev/null
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/.cc.
+1 error generated.
+Error while processing /Users/robertlipe/Documents/GitHub/gpsbabel/kml.cc.
#include "defs.h"
#include "xmlgeneric.h"
-#include <stdio.h>
#include <QtCore/QXmlStreamAttributes>
+#include <cstdio>
static gbfile* ofd;
static Waypoint* wpt_tmp;
#include "defs.h"
#include <QtCore/QDebug>
-#include <stdio.h>
#include <cmath> /* for lat/lon conversion */
-#include <stdlib.h> // atoi
+#include <cstdlib> // atoi
+#include <stdio.h>
typedef struct lowranceusr_icon_mapping {
const int value;
#include "defs.h"
-#include <math.h> /* for lat/lon conversion */
-#include <time.h> /* for gmtime */
-#include <stdio.h> /* for gmtime */
-#include <stdlib.h> // atoi
+#include <cmath> /* for lat/lon conversion */
+#include <cstdio> /* for gmtime */
+#include <cstdlib> // atoi
+#include <ctime> /* for gmtime */
/* from waypt.c, we need to iterate over waypoints when extracting
routes */
#include "defs.h"
#include "csv_util.h"
-#include "xmlgeneric.h"
#include "magellan.h"
+#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
#include <cmath>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "maggeo"
*/
#include "defs.h"
-#include "magellan.h"
-#include "gbser.h"
#include "explorist_ini.h"
+#include "gbser.h"
+#include "magellan.h"
#if HAVE_GLOB
#include <glob.h>
#endif
-#include <stdlib.h>
-#include <stdio.h>
-#include <math.h>
-#include <time.h>
#include <QtCore/QFileInfo>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
+#include <ctime>
static int bitrate = 4800;
static int wptcmtcnt;
*/
-#include <QtCore/QTextCodec>
#include <QtCore/QCoreApplication>
+#include <QtCore/QTextCodec>
#include <QtCore/QVector>
-#include "defs.h"
-#include "filterdefs.h"
#include "cet.h"
#include "cet_util.h"
#include "csv_util.h"
+#include "defs.h"
+#include "filterdefs.h"
#include "inifile.h"
#include "session.h"
#include "src/core/usasciicodec.h"
-#include <ctype.h>
-#include <locale.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cctype>
+#include <clocale>
+#include <cstdio>
+#include <cstdlib>
#include <signal.h>
#define MYNAME "main"
*/
-#include <ctype.h>
-#include <math.h>
-#include <string.h>
-#include <time.h>
#include "defs.h"
+#include <cctype>
+#include <cmath>
+#include <cstring>
+#include <ctime>
//#include "session.h"
#define MYNAME "mapasia"
#include "defs.h"
#include "src/core/file.h"
#include "src/core/xmlstreamwriter.h"
+#include <QtCore/QDebug>
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
-#include <QtCore/QDebug>
static gpsbabel::File* oqfile;
static QXmlStreamWriter* writer;
*/
#include "defs.h"
-#include "mapsend.h"
#include "magellan.h"
+#include "mapsend.h"
#include <cmath>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
static gbfile* mapsend_file_in;
static gbfile* mapsend_file_out;
#include "defs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
-#include <stdio.h>
-#include <stdlib.h>
#include <QtCore/QFile>
+#include <cstdio>
+#include <cstdlib>
static gbfile* mps_file_in;
static gbfile* mps_file_out;
#include "fatal.cc"
-#include "util.cc"
#include "cet.cc"
#include "globals.cc"
#include "jeeps/gpsmath.cc"
-#include <stdlib.h> // qsort
+#include "util.cc"
+#include <cstdlib> // qsort
#include "cet.h"
#include "cet_util.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#define MYNAME "mkshort"
#include "defs.h"
#include <QtCore/QHash>
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
+#include <cerrno>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "mmo"
#include "defs.h"
#include "gbser.h"
-#include <errno.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cerrno>
+#include <cstdio>
+#include <cstdlib>
static route_head* track;
#include "defs.h"
-#include "gbser.h"
#include "gbfile.h" /* used for csv output */
+#include "gbser.h"
#include <QtCore/QDir>
-#include <errno.h>
-#include <math.h>
-#include <stdlib.h>
+#include <cerrno>
+#include <cmath>
+#include <cstdlib>
#if __WIN32__
#include <io.h>
#else
*/
#include "defs.h"
#include "cet_util.h"
-#include <QtCore/QXmlStreamReader>
#include "src/core/file.h"
+#include <QtCore/QXmlStreamReader>
static char* noretired = NULL;
static QString read_fname;
#include "jeeps/gpsmath.h"
#include <QtCore/QDebug>
#include <QtCore/QTextCodec>
-#include <math.h>
+#include <cmath>
#define MYNAME "Naviguide"
#include "defs.h"
#include "cet_util.h"
#include "csv_util.h"
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_in;
static char* nseicon = NULL;
#include "defs.h"
#include "cet_util.h"
#include "gbser.h"
-#include "strptime.h"
#include "jeeps/gpsmath.h"
#include "src/core/logging.h"
+#include "strptime.h"
-#include <ctype.h>
-#include <math.h>
-#include <time.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cmath>
+#include <cstdlib>
#include <stdio.h>
+#include <ctime>
#include <QtCore/QStringList>
#include "defs.h"
#include "cet_util.h"
#include "csv_util.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
+#include <cctype>
+#include <cstdarg>
+#include <cstdio>
+#include <cstdlib>
static gbfile* fin, *fout;
static int curr_rte_num, target_rte_num;
#include "cet_util.h"
#include "csv_util.h"
#include "jeeps/gpsmath.h"
+#include <QtCore/QFileInfo>
+#include <cstdio>
#include <ctype.h>
#include <math.h> /* for floor */
-#include <stdlib.h>
-#include <stdio.h>
-#include <QtCore/QFileInfo>
+#include <cstdlib>
#define MYNAME "OZI"
#define BADCHARS ",\r\n"
#include "defs.h"
#include "jeeps/gpsmath.h"
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h> //strtod
+#include <cmath>
+#include <cstdio>
+#include <cstdlib> //strtod
/*
* parse_distance:
*/
#include "defs.h"
-#include "garmin_tables.h"
#include "cet_util.h"
#include "csv_util.h"
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include "garmin_tables.h"
#include <QtCore/QDebug>
+#include <cstdio>
+#include <math.h>
+#include <cstdlib>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
#include "defs.h"
#include "csv_util.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "PocketFMS waypoint text file format"
*/
#include "defs.h"
#include "filterdefs.h"
-#include <stdio.h>
+#include <cstdio>
#if FILTERS_ENABLED
#define MYNAME "Polygon filter"
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
-#include <math.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdlib>
#if FILTERS_ENABLED
#include "defs.h"
#include "garmin_tables.h"
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "PSITREX"
*/
#include "queue.h"
-#include <stddef.h>
+#include <cstddef>
void
enqueue(queue* new_el, queue* old)
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
#if FILTERS_ENABLED
#include "defs.h"
#include "garmin_fs.h"
#include "jeeps/gpsmath.h"
-#include <stdlib.h>
-#include <time.h>
+#include <cstdlib>
+#include <ctime>
#define MYNAME "random"
#include "csv_util.h"
#include "inifile.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
typedef unsigned long long guid_t;
*/
#include "defs.h"
-#include <stdlib.h>
+#include <cstdlib>
/*
* Colors derived from http://www.w3.org/TR/SVG/types.html#ColorKeywords
*/
-#include <stdio.h>
#include "defs.h"
#include "grtcirc.h"
#include "session.h"
+#include <cstdio>
static queue my_route_head;
static queue my_track_head;
#define MYNAME "saroute"
#include "defs.h"
#include "grtcirc.h"
-#include <stddef.h>
+#include <cstddef>
gbfile* infile;
*/
#include "defs.h"
#include "shapelib/shapefil.h"
-#include <stdlib.h>
+#include <cstdlib>
#if SHAPELIB_ENABLED
static SHPHandle ihandle;
#include "defs.h"
-#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "skyforce"
#include "defs.h"
#include "gbser.h"
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "skytraq"
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
-#include <stdlib.h>
+#include <cstdlib>
#define MYNAME "simplify"
*/
#include "defs.h"
#include "filterdefs.h"
-#include <stdlib.h>
+#include <cstdlib>
#if FILTERS_ENABLED
#include "defs.h"
#include "filterdefs.h"
-#include <stdlib.h>
+#include <cstdlib>
#if FILTERS_ENABLED
*/
#include "defs.h"
-#include <stdio.h> /* for gmtime */
+#include <cstdio> /* for gmtime */
#define MYNAME "subrip"
#include "defs.h"
#include "jeeps/gpsmath.h"
#include "src/core/xmltag.h"
-#include <ctype.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cstdlib>
static gbfile* file_out;
static short_handle mkshort_handle;
#include "defs.h"
#include "cet_util.h"
#include "csv_util.h"
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cmath>
+#include <cstdio>
+#include <cstdlib>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
#include "defs.h"
#include "cet_util.h"
#include "csv_util.h"
-#include <stdlib.h>
+#include <cstdlib>
#define MYNAME "TMPro"
#include "defs.h"
-#include <stdio.h> // sprintf
-#include <stdlib.h> // qsort
#include <QtCore/QTextCodec>
+#include <cstdio> // sprintf
+#include <cstdlib> // qsort
#define MYNAME "TomTom"
#include "defs.h"
#include "jeeps/gpsmath.h" /* for datum conversions */
+#include <QtCore/QScopedArrayPointer> // Wish we could use c++11...
#include <cmath>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
#include <vector>
-#include <QtCore/QScopedArrayPointer> // Wish we could use c++11...
#define MYNAME "TPO"
#include <QtCore/QRegExp>
#include <QtCore/QXmlStreamAttributes>
#include <cmath>
-#include <stdio.h> /* for snprintf */
-#include <stdlib.h> /* for qsort */
+#include <cstdio> /* for snprintf */
+#include <cstdlib> /* for qsort */
#if FILTERS_ENABLED || MINIMAL_FILTERS
#define MYNAME "trackfilter"
#include "defs.h"
#include "filterdefs.h"
-#include <stdlib.h>
+#include <cstdlib>
#if FILTERS_ENABLED
*/
#include "defs.h"
-#include "src/core/xmltag.h"
#include "jeeps/gpsmath.h"
+#include "src/core/xmltag.h"
-#include <ctype.h>
-#include <errno.h>
-#include <math.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h> // for va_copy
-#include <time.h>
#include <QtCore/QFileInfo>
+#include <cctype>
+#include <cerrno>
+#include <cmath>
+#include <cstdarg>
+#include <cstdarg> // for va_copy
+#include <cstdio>
+#include <cstdlib>
+#include <ctime>
// First test Apple's clever macro that's really a runtime test so
// that our universal binaries work right.
******************************************************************************/
#include "defs.h"
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h> // atoi
+#include <cassert>
+#include <cstdio>
+#include <cstdlib> // atoi
#if _MSC_VER
#define __func__ __FUNCTION__
#include "defs.h"
#include "filterdefs.h"
-#include <stdio.h>
+#include <cstdio>
#if FILTERS_ENABLED
#define MYNAME "validate"
#include "defs.h"
#include "jeeps/gpsmath.h"
-#include <ctype.h>
-#include <math.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cmath>
+#include <cstdlib>
static gbfile* file_out;
static short_handle mkshort_handle;
#include "defs.h"
#include "csv_util.h"
-#include "inifile.h"
#include "gbversion.h"
-#include <stdio.h>
-#include <stdlib.h> // qsort
+#include "inifile.h"
+#include <cstdio>
+#include <cstdlib> // qsort
#define MYNAME "vecs.c"
*/
#include "defs.h"
-#include <stdlib.h>
-#include <math.h>
+#include <cmath>
+#include <cstdlib>
#define MYNAME "vidaone"
#include "defs.h"
#include "grtcirc.h"
+#include <cerrno>
#include <cmath>
-#include <errno.h>
#define MYNAME "vitosmt"
*/
#include "defs.h"
-#include <stdio.h> /* for sscanf */
+#include <cstdio> /* for sscanf */
#define MYNAME "vpl"
#include "defs.h"
#include "cet_util.h"
-#include "grtcirc.h"
#include "garmin_fs.h"
+#include "grtcirc.h"
#include "session.h"
#include "src/core/logging.h"
#include <QtCore/QDebug>
#include <QtCore/QList>
-#include <stdio.h>
-#include <math.h>
+#include <cmath>
+#include <cstdio>
#if NEWQ
QList<Waypoint*> waypt_list;
#include "defs.h"
#include "gbser.h"
#include "grtcirc.h"
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "WBT-100/200"
#define NL "\x0D\x0A"
#include "defs.h"
#include "xmlgeneric.h"
#include <QtCore/QXmlStreamAttributes>
-#include <stdio.h>
+#include <cstdio>
/* argument storage */
static char* aicicon =0;
#include <QtCore/QTextCodec>
#include <QtCore/QTextStream>
-#include "defs.h"
#include "csv_util.h"
+#include "defs.h"
#include "jeeps/gpsmath.h"
#include "src/core/file.h"
#include "src/core/logging.h"
-#include <ctype.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cstdlib>
#if CSVFMTS_ENABLED
#define MYNAME "XCSV"
*/
#include "defs.h"
-#include "xmlgeneric.h"
#include "cet_util.h"
#include "src/core/file.h"
+#include "xmlgeneric.h"
#include <QtCore/QByteArray>
#include <QtCore/QDebug>
#include "defs.h"
#include "cet_util.h"
#include "src/core/xmltag.h"
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
+#include <cstddef>
+#include <cstdio>
+#include <cstring>
static void
free_xml_tag(xml_tag* tag)
*/
#include "defs.h"
-#include "xmlgeneric.h"
-#include "jeeps/gpsmath.h"
#include "garmin_tables.h"
+#include "jeeps/gpsmath.h"
#include "src/core/file.h"
#include "src/core/xmlstreamwriter.h"
+#include "xmlgeneric.h"
-#include <QtCore/QXmlStreamWriter>
#include <QtCore/QXmlStreamAttributes>
+#include <QtCore/QXmlStreamWriter>
static Waypoint* wpt;
static route_head* trk;